/*
 * @Author: ipk518 121206530@qq.com
 * @Date: 2023-11-20 09:02:01
 * @LastEditors: ipk518 121206530@qq.com
 * @LastEditTime: 2023-11-22 19:35:51
 * @FilePath: /moduleTest/inc/csi.h
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */

#ifndef _CSI_h
#define _CSI_h

#include <stdint.h>
#include <stdbool.h>
#include <string.h>

#if defined (__cplusplus)
extern "C" {
#endif

struct _Params {
    char        *device;
    char        *type;
    char        *format;
    uint32_t    width;
    uint32_t    height;
    uint32_t    fps;
    uint32_t    number;
};

extern int csiInit(uint32_t w,uint32_t h,uint32_t n);


#if defined (__cplusplus)
}
#endif /* defined (__cplusplus) */


#endif